namespace MyApproval {
  export interface SearchForm extends Base.Pagination {
    waybillNumList: string;
    customerIdList: string[];
    problemPieceTypeList: string[];
    stateList: string[];
    time: string[];
    createByList: string[];
  }
  export type ListRows = {
    id: string;
    [propName: string]: any;
  };
  export interface AddForm {
    carrier: string;
    carrierCode: string;
  }

  export interface editForm {
    id?: number;
    type: string;
    remark: string;
    dateType: number | undefined;
    dates: number;
    finCloseCase: number;
    bizConfirmation: number;
    isCreateReceivable: number;
    companyProportion: number;
    bizProportion: number;
    approvalList: {
      approvalType: number | undefined;
      deptId: number | undefined;
      userIdList: string[];
    }[];
  }

  export interface CheckProblemType {
    approvalList: {
      id?: number;
      approvalType?: number;
      bizProblemPieceId?: number;
      deptId?: number;
      deptName: string;
      state: number;
      file?: string;
      approvalUserId?: number;
      approvalUserName?: string;
      approvalTime: string;
      remark?: string;
      approvalStorageDto?: {
        isCloseCase: number;
        companyProportion: number;
        companyProportionPrice: number;
        bizProportion: number;
        bizProportionPrice: number;
        totalPrice: number;
      };
    }[];
  }
}
